Optimal. Leaf size=14 \[ \frac {\sin ^3(x)}{3 (1+\cos (x))^3} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.02, antiderivative size = 14, normalized size of antiderivative = 1.00, number of steps
used = 1, number of rules used = 1, integrand size = 11, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.091, Rules used = {2750}
\begin {gather*} \frac {\sin ^3(x)}{3 (\cos (x)+1)^3} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 2750
Rubi steps
\begin {align*} \int \frac {\sin ^2(x)}{(1+\cos (x))^3} \, dx &=\frac {\sin ^3(x)}{3 (1+\cos (x))^3}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.03, size = 12, normalized size = 0.86 \begin {gather*} \frac {1}{3} \tan ^3\left (\frac {x}{2}\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.06, size = 9, normalized size = 0.64
method | result | size |
default | \(\frac {\left (\tan ^{3}\left (\frac {x}{2}\right )\right )}{3}\) | \(9\) |
risch | \(-\frac {2 i \left (3 \,{\mathrm e}^{2 i x}+1\right )}{3 \left ({\mathrm e}^{i x}+1\right )^{3}}\) | \(22\) |
norman | \(\frac {\frac {\left (\tan ^{3}\left (\frac {x}{2}\right )\right )}{3}+\frac {2 \left (\tan ^{5}\left (\frac {x}{2}\right )\right )}{3}+\frac {\left (\tan ^{7}\left (\frac {x}{2}\right )\right )}{3}}{\left (\tan ^{2}\left (\frac {x}{2}\right )+1\right )^{2}}\) | \(37\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.26, size = 12, normalized size = 0.86 \begin {gather*} \frac {\sin \left (x\right )^{3}}{3 \, {\left (\cos \left (x\right ) + 1\right )}^{3}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.35, size = 20, normalized size = 1.43 \begin {gather*} -\frac {{\left (\cos \left (x\right ) - 1\right )} \sin \left (x\right )}{3 \, {\left (\cos \left (x\right )^{2} + 2 \, \cos \left (x\right ) + 1\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.34, size = 7, normalized size = 0.50 \begin {gather*} \frac {\tan ^{3}{\left (\frac {x}{2} \right )}}{3} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.42, size = 8, normalized size = 0.57 \begin {gather*} \frac {1}{3} \, \tan \left (\frac {1}{2} \, x\right )^{3} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.26, size = 8, normalized size = 0.57 \begin {gather*} \frac {{\mathrm {tan}\left (\frac {x}{2}\right )}^3}{3} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________